import { createBrowserRouter } from "react-router-dom";

import App from "../App";
import Home from '../pages/home/Index'
import  Index from '../pages/index/Index'
import List from '../pages/list/Index'

let routes=createBrowserRouter([
 
    {
        path:'/',
        element:<App></App>
    },

    
    {

        path:'/home',
        element:<Home></Home>
    },
    {
        path:'/index',
        element:<Index></Index>
    },
    {
        path:'/list',
        element:<List></List>
    }
])

export default routes;